﻿using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc.UI.Widgets;

namespace YaAppoint.Web.Components
{
    /// <summary>
    /// 小部件
    /// 在视图组件类基础上添加 [Widget]特性就是声明了"abp小部件"
    /// </summary>
    [Widget]
    [ViewComponent(Name = "TreeSelectorWidget")]
    public class TreeSelectorWidgetViewComponent:AbpViewComponent
    {
        public IViewComponentResult Invoke()
        {
            return View();
        }
    }
}
